package com.xinz.srmi;

import java.lang.reflect.Method;

public interface ResponseHeaderProvider {
	/**
	 * 提供一个返回的Header
	 * @param context
	 * @param method
	 * @param result 
	 * @param isException 
	 * @return
	 */
	Object provideResponseHeader(Session session, Method method,Object requestHeader,Object []args, boolean isException, Object result);
	
	
	public static class Abstract implements ResponseHeaderProvider{

		@Override
		public Object provideResponseHeader(Session session, Method method,
				Object requestHeader, Object[] args, boolean isException,
				Object result) {
			return null;
		}
		
	}

}
